package com.jun.basic.controller;

import com.jun.basic.service.impl.VideoServiceImpl;
import com.jun.basic.utils.JsonData;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@Slf4j
@RestController
@RequestMapping("/api/v1/pri/order")
public class VideoOrderController {
    @Resource
    private VideoServiceImpl videoService;

    @PostMapping("/save")
    public JsonData<String> saveVideo() {
        log.info("/save");
        return JsonData.buildSuccess("下单成功");
    }
}
